package com.lovestudying.service;

import com.lovestudying.entity.Comment;
import com.lovestudying.util.PageInfo;

public interface CommentService {

	/**
	 * 发表一级评论
	 * 
	 * @param commentUuid
	 * @param createTime
	 * @param accountId
	 * @param commentCotent
	 * @param comment_gruop
	 * @return
	 */
	Boolean PostComment(String commentUuid, String createTime, String accountId, String commentCotent,
			String comment_gruop);

	/**
	 * 根据参数获取以及评论组
	 * 
	 * @param uuid
	 * @param orderParam
	 * @param sc
	 * @param pageSize
	 * @param pageNum
	 * @return
	 */
	PageInfo<Comment> GetCommentsByUUID(String uuid, String orderParam, String sc, Integer pageSize, Integer pageNum);

	/**
	 * 用户删除单条评论或回复
	 * 
	 * @param deleteId
	 * @return
	 */
	String deleteComOrRepById(String deleteId);

}
